<meta charset="utf-8">
<title>{:C('WEB_SITE_TITLE')}</title>
<link type="text/css" rel="stylesheet" href="__STATIC__/zhongao/css/gdza.css">
<link type="text/css" rel="stylesheet" href="__STATIC__/zhongao/css/nav.css">

<block name="otherstyle">

    <link rel="stylesheet" type="text/css" media="all" href="__STATIC__/zhongao/css/lanrenzhijia.css" />
<link type="text/css" href="__STATIC__/zhongao/css/style.css" rel="stylesheet"/>


<script type="text/javascript" src="__STATIC__/zhongao/js/jquery.js"></script>
<script type="text/javascript" src="__STATIC__/zhongao/js/roundabout.js"></script>
<script type="text/javascript" src="__STATIC__/zhongao/js/lanrenzhijia.js"></script>
    <link href="__STATIC__/zhongao/css/css.css" rel="stylesheet" type="text/css" />
    <script type="text/javascript">
        jQuery(document).ready(function () {
            jQuery('#lanrenzhijia').roundabout({
                shape: 'figure8',
                minScale:0.9,
            });
        });
    </script>




<script type="text/javascript" src="__STATIC__/zhongao/js/jquery.event.drag-1.5.min.js"></script>
<script type="text/javascript" src="__STATIC__/zhongao/js/jquery.touchSlider.js"></script>
<script type="text/javascript">
    $(document).ready(function(){

        $(".main_visual").hover(function(){
            $("#btn_prev,#btn_next").fadeIn()
        },function(){
            $("#btn_prev,#btn_next").fadeOut()
        });

        $dragBln = false;

        $(".main_image").touchSlider({
            flexible : true,
            speed : 200,
            btn_prev : $("#btn_prev"),
            btn_next : $("#btn_next"),
            paging : $(".flicking_con a"),
            counter : function (e){
                $(".flicking_con a").removeClass("on").eq(e.current-1).addClass("on");
            }
        });

        $(".main_image").bind("mousedown", function() {
            $dragBln = false;
        });

        $(".main_image").bind("dragstart", function() {
            $dragBln = true;
        });

        $(".main_image a").click(function(){
            if($dragBln) {
                return false;
            }
        });

        timer = setInterval(function(){
            $("#btn_next").click();
        }, 5000);

        $(".main_visual").hover(function(){
            clearInterval(timer);
        },function(){
            timer = setInterval(function(){
                $("#btn_next").click();
            },5000);
        });

        $(".main_image").bind("touchstart",function(){
            clearInterval(timer);
        }).bind("touchend", function(){
            timer = setInterval(function(){
                $("#btn_next").click();
            }, 5000);
        });

    });
</script>

    <link href="__STATIC__/zhongao/css/video-js.css" rel="stylesheet" type="text/css">
</block>